package com.example.springback.mapper;


import com.example.springback.domain.Employee;

import java.util.List;

/**
* @author lenovo
* @description 针对表【employee】的数据库操作Mapper
* @createDate 2025-03-06 20:19:41
* @Entity generator.domain.Employee
*/
public interface EmployeeMapper {

    int deleteByPrimaryKey(String employeeId,Integer enterpriseId);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(String employeeId,Integer enterpriseId);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    List<Employee> selectAll(Employee employee);

    int selectEmployeeNumber(Integer enterpriseId);

    double selectAverageSalary();

    int countPeople();
}
